export interface GitConfig{
    id:number,
    name:String,
    url:String,
    path:String,
    authid: number,
    status: String,
}
export interface GitAuth{
    id:number,
    username:String,
    password:String,
}
export interface GitMonitor{
    id : String
    gitid :number
    status :String
    name :String    
}

export interface GitPipelinetask {
    id : string
    git_id :number
    state :string
    
    programme:string 
    command :string 
    dir :string 
    begin_time: string
    end_time : string 
    git_hash:string     
}
export interface DockerTask {
	id: number;
	GitHash: string;
	project_name: string;
	git_id: number;
	status: number;
	begin_time: string;
	end_time: string;
}

export interface SubModule {
	id: number;
	project_id: number;
	name: string;
	languagetype: number;
	dockerfile: boolean;
}
export interface DockerfileResponse{
    exist:boolean ;
    dockerfile:string;
}
export interface DockerfileRequest{
    gitid:number,
    submodule:string,
}
export interface DockerfileCreate{
    resp : DockerfileResponse
    req: DockerfileRequest
}

export interface GenYaml    {
    gitid: number
    genmode:number 
    gencode:string 
}

export interface DAGTask{
    id: string 
    taskname: string   
    runprog : string   
    command : string   
    depend: string[]
}

export interface DAGGraph{
    id : String          
	Git_id  :number             
	GitHash :String      
	Dir    : String        
	tasks  : DAGTask[]
}

